package com.bdth.mixapi.api.service.impl;

import com.bdth.mixapi.api.entity.DeviceChange;
import com.bdth.mixapi.api.mapper.DeviceChangeMapper;
import com.bdth.mixapi.api.mapper.DeviceMapper;
import com.bdth.mixapi.api.service.DeviceChangeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdth.mixapi.api.vo.CrTimeVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 设备历史演变表 服务实现类
 * </p>
 *
 * @author LGP
 * @since 2019-04-28
 */
@Service
public class DeviceChangeServiceImpl extends ServiceImpl<DeviceChangeMapper, DeviceChange> implements DeviceChangeService {

    @Autowired
    DeviceChangeMapper deviceChangeMapper;

    @Override
    public List<CrTimeVo> getTimes() {
        return deviceChangeMapper.getTimes();
    }
}
